package tech.runchen.gz5055.oms.modules.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.runchen.gz5055.oms.modules.system.mapper.CommonMapper;
import tech.runchen.gz5055.oms.modules.system.service.ICommonService;

import java.util.List;
import java.util.Map;

/**
 * @author zzj
 */
@Service
public class CommonServiceImpl implements ICommonService {

    @Autowired
    private CommonMapper commonMapper;

    @Override
    public Integer selectCountBySql(String sql) {
        return commonMapper.selectCountBySql(sql);
    }

    @Override
    public List<Map<String, Object>> selectObjectBySql(String sql) {
        return commonMapper.selectObjectBySql(sql);
    }
}
